<!--
 * @Author: your name
 * @Date: 2021-05-07 23:22:09
 * @LastEditTime: 2021-05-07 23:27:11
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue01d:\HTML001\布局小技巧\烟花\烟花.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>烟花</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }
        body{
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;


        }
        .main{
            width: 300px;
            height: 300px;
            border: black 1px solid;
            transform-style: preserve-3d;
            transform: perspective(900px) rotateX(25deg);


        }
        .yan{
            
        }
    </style>
</head>
    <div class="main">
        <div class="yan"></div>
        <div class="yan"></div>
        <div class="yan"></div>
        <div class="yan"></div>
        <div class="yan"></div>
        <div class="yan"></div>
        <div class="yan"></div>
        <div class="yan"></div>
        <div class="yan"></div>
    </div>


    <script>

    </script>
</body>
</html>